package com.itzyf.pokemondata.bean;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

import java.util.Date;

public class DbComprehensiveTypeDo extends LitePalSupport {

    private Date createdAt;
    private String name;
    private String objectId;
    private Date updatedAt;
    private long id;

    @Column(ignore = true)
    private boolean isCheck=false;

    public DbComprehensiveTypeDo() {
    }

    public DbComprehensiveTypeDo(CTypeDo cDo) {
        this.name = cDo.getName();
        this.objectId = cDo.getObjectId();
    }

    public DbComprehensiveTypeDo(Date createdAt, String name, String objectId, Date updatedAt) {
        this.createdAt = createdAt;
        this.name = name;
        this.objectId = objectId;
        this.updatedAt = updatedAt;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }
}
